export interface IUser {
  userId: string;
  userCode: string;
  userName: string;
  userToken: string;
  deptId: string;
  deptName: string;
  imUserCode?: string;
  roleId?: string;
  tenantId?: string;
}

export class User implements IUser {

  constructor(
      public userId: string,
      public userCode: string,
      public userName: string,
      public userToken: string,
      public deptId: string,
      public deptName: string,
      public imUserCode?: string,
      public roleId?: string,
      public tenantId?: string
      ) {
  }
  
}